package com.xsmart.oa.services;

import com.xsmart.oa.dao.DemoDAO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class DemoService {
    @Autowired
    DemoDAO demoDAO;
    public List<Map<String,Object>> queryUserList(){
        return demoDAO.queryUserList();
    }
}
